﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ListUser.ascx.cs" Inherits="Admin_Users_ListUser" %>
<%@ Register Src="AddEdit.ascx" TagName="AddEdit" TagPrefix="uc1" %>
<style type="text/css">
    .style1
    {
        height: 28px;
    }
</style>
<uc1:AddEdit ID="AddEdit1" runat="server" />
<table class="table">
    <tr>
        <th width="40px">
            STT
        </th>
        <th>
            Tài khoản
        </th>
        <th width="150px">
            Lần truy cập cuối
        </th>
        <th width="50px">
            
        </th>
    </tr>
    <asp:Repeater ID="rep" runat="server" onitemcommand="rep_ItemCommand">
        <ItemTemplate>
            <tr>
                <td align="center">
                    <%# Container.ItemIndex + 1 %>
                </td>
                <td>
                    <%# Eval("UserName") %>
                </td>
                <td>
                    <%# Convert.ToDateTime(Eval("LastLoginDate")).ToString("dd/MM/yyyy HH:mm:ss") %>
                </td>
                <td align="center">
                    <asp:LinkButton ID="del" runat="server" CommandName="del" CommandArgument='<%# Eval("UserName") %>' OnClientClick="return confirm('Bạn xác nhận xóa thành viên')"><img src="../images/delete.png" /></asp:LinkButton>
                </td>
            </tr>
        </ItemTemplate>
    </asp:Repeater>
</table>
